# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-aries
pkgdesc="Xiaomi Mi 2"
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armhf"
options="!check !archcheck"
depends="postmarketos-base linux-xiaomi-aries mkbootimg mdss-fb-init-hack"
makedepends="devicepkg-dev"
source="deviceinfo initfs-hook.sh"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}


sha512sums="
0b4a0a62f65242f59448502f39d534e7160c20490c5aaa546e7b49050942521f7196c8c178262b1b77ffb31b08edcc476e1452cf54a1877e4373c8b6f26ef0f9  deviceinfo
73d199fdf7eccc2041ea8fabecc8b833d845791d5e7740b9d8e81e8fb917a0db55958f8c0d5499142a5726cf1ee40d6eb0ca16f7dc160276354d940b5abeeedc  initfs-hook.sh
"
